package com.timothy.chart;

public class Cylinder {
	private int index;//从左向右顺序
	
	String choiceText;//柱状图描述文本
	int textOrdinateX;//描述文本横坐标
	int textOrdinateY;//描述文本纵坐标
	
	private int topLeftX;//柱状图左上角横坐标
	private int topLeftY;//柱状图左上角纵坐标
	private int bottomRightX;//柱状图右下角横坐标
	private int bottomRightY;//柱状图右下角纵坐标
	
	private int topColor;//柱状图顶部填充色
	private int color;//柱状图填充色
	private int bottomColor;//柱状图底部填充色
	
	int width;//
	int height;//
	
	int votes;//票数
	
	int answerType;
	int fullColor;
	
	public Cylinder() {
		super();
	}
	
	public Cylinder(int index, int votes,String choiceText,int answerType,int fullColor) {
		super();
		this.index = index;
		this.votes = votes;
		this.choiceText = choiceText;
		this.answerType = answerType;
		this.fullColor = fullColor;
	}
	
	public Cylinder(int cyliIndex, int height,int color,String cyliDescText) {
		super();
		this.index = cyliIndex;
		this.height = height;
		this.color = color;
		this.choiceText = cyliDescText;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getChoiceText() {
		return choiceText;
	}

	public void setChoiceText(String choiceText) {
		this.choiceText = choiceText;
	}

	public int getTextOrdinateX() {
		return textOrdinateX;
	}

	public void setTextOrdinateX(int textOrdinateX) {
		this.textOrdinateX = textOrdinateX;
	}

	public int getTextOrdinateY() {
		return textOrdinateY;
	}

	public void setTextOrdinateY(int textOrdinateY) {
		this.textOrdinateY = textOrdinateY;
	}

	public int getTopLeftX() {
		return topLeftX;
	}

	public void setTopLeftX(int topLeftX) {
		this.topLeftX = topLeftX;
	}

	public int getTopLeftY() {
		return topLeftY;
	}

	public void setTopLeftY(int topLeftY) {
		this.topLeftY = topLeftY;
	}

	public int getBottomRightX() {
		return bottomRightX;
	}

	public void setBottomRightX(int bottomRightX) {
		this.bottomRightX = bottomRightX;
	}

	public int getBottomRightY() {
		return bottomRightY;
	}

	public void setBottomRightY(int bottomRightY) {
		this.bottomRightY = bottomRightY;
	}

	public int getTopColor() {
		return topColor;
	}

	public void setTopColor(int topColor) {
		this.topColor = topColor;
	}

	public int getColor() {
		return color;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public int getBottomColor() {
		return bottomColor;
	}

	public void setBottomColor(int bottomColor) {
		this.bottomColor = bottomColor;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getVotes() {
		return votes;
	}

	public void setVotes(int votes) {
		this.votes = votes;
	}

	public int getAnswerType() {
		return answerType;
	}

	public void setAnswerType(int answerType) {
		this.answerType = answerType;
	}

	public int getFullColor() {
		return fullColor;
	}

	public void setFullColor(int fullColor) {
		this.fullColor = fullColor;
	}

}
